<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="content-type" content="text/html" charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no,minimal-ui" />
    <meta name="format-detection" content="telephone=no">
    <title>资产管理</title>
    <link rel="stylesheet" href="{{asset('api/static/css/base.css')}}">
    <link rel="stylesheet" href="{{asset('api/static/css/index.css')}}">
    <link rel="stylesheet" href="{{asset('api/static/css/transfer.css')}}">
    <style>
        .img-title li a span:last-child i{margin-right: 4px;}
        .arrow-icon{display: inline-block;vertical-align: -1px;}
    </style>
</head>
<body>
<section class="assets-wrap">
    <ul class="assets-list img-title">
        @if(empty($data))
            <span class="no-data">暂无数据</span>
        @else
            @foreach($data as $key =>$val)
            <li>
                @if($val['is_standard']==1)
                    <a onclick="" class="assets-href clearfix">
                <span class="fl">
                  <img src="{{$val['c_logo']}}" alt="">
                </span>
                        <span class="fl BTC">{{$val['c_name']}}</span>
                        <span class="fr">
                </span>
                    </a>
                @else
                    <a onclick=ttp.gotoTransactionCoinName("{{$val['cid']}}","{{$val['c_name']}}") class="assets-href clearfix">
                <span class="fl">
                  <img src="{{$val['c_logo']}}" alt="">
                </span>
                        <span class="fl BTC">{{$val['c_name']}}</span>
                        <span class="fr">
                    <i>去交易</i>
                    <span class="arrow-icon icon-r select-icon"></span>
                </span>
                    </a>
                @endif
                <section class="number-msg assets-num-msg">
                    <table>

                    {{--<p>--}}
                        {{--<span>总资产：<i>{{$val['total']}}</i></span>--}}
                    {{--</p>--}}
                    {{--<p>--}}
                        {{--<span>可用：<i>{{$val['balance']}}</i></span>--}}
                        {{--<span>冻结：<i>{{$val['blocked']}}</i></span>--}}
                    {{--</p>--}}
                    <tr>
                        <td>总资产：<i>{{$val['total']}}</i></td>
                    </tr>
                    <tr>
                        <td>可用：<i>{{$val['balance']}}</i></td>
                    </tr>
                    <tr>
                        <td>冻结：<i>{{$val['blocked']}}</i></td>
                    </tr>
                    </table>

                </section>
            </li>
            @endforeach
        @endif
    </ul>
</section>
<script src="{{asset('/api/static/js/rem.js')}}"></script>
</body>
</html>
